package cn.IT.service;

import java.io.Serializable;
import java.util.List;

import cn.IT.domain.User;

public interface IUserService {

	//获取所有用户
	public List<User> getAllUsers();
	
	//用户登录
	public User login(User user);

	public List<User> getAllUserExceptSelf(User user);

	public List<User> getAllUserOrderByContribute();

	public List<User> getAllApproversExceptSelf(User user);

	public User getUserById(Serializable userId); 
}
